home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / apcp.arc / A202A.CMD < prev    next >
Encoding:
Text File  |  1987-01-01  |  10.3 KB  |  404 lines

  1.      goto menu
  2.  
  3. dial:
  4.      isfile s8
  5.      if success
  6.           return
  7.      else
  8.      endif
  9.      clear
  10.      message "│ 202 │"
  11.      locate 0,8
  12.      message s8
  13.      locate 0,17
  14.      message "│ Washington, DC              │"
  15.      locate 0,49
  16.      message s6
  17.      locate 0,77
  18.      message "│"
  19.      locate 2,0
  20.      transmit "I!"
  21.      pause 1
  22.      transmit "ATZ!"
  23.      waitfor "OK"
  24.      transmit "^E!"
  25.      waitfor "READY"
  26.      transmit "D"
  27.      transmit S8
  28.      transmit "!"
  29.      rget s9
  30.      rget s9 80 40
  31.      rget s9 40 40
  32.      rget s9 40 40
  33.  
  34. mess:
  35.      find s9 "BUSY"
  36.      if found
  37.           assign s7 "M"
  38.           return
  39.      else
  40.      endif
  41.      find s9 "ANSWER TONE"
  42.      if found
  43.           set parity none
  44.           set databits 8
  45.           clear
  46.           log open s8
  47.           alarm 2
  48.           exit
  49.      else
  50.      endif
  51.      find s9 "RINGING"
  52.      if found
  53.           rget s9
  54.           find s9 "RINGING"
  55.           if not found
  56.                goto mess
  57.           else
  58.                log open s8
  59.                message "NO ANSWER - STILL RINGING"
  60.                log close
  61.                transmit "^C^D^C"
  62.           endif
  63.      else
  64.      endif
  65. return
  66.  
  67. menu:
  68.      assign s7 " "
  69.      log close
  70.      clear
  71.      message "╔════════════════════════════════════════════════════════════════════════════╗"
  72.      message "║ A- PC Pursuit Information . 689-2987  V- A & A Micro-Tech ....... 825-0536 ║"
  73.      message "║ B- PC Pursuit Messages .... 689-3561  W- Data Bit BBS ........... 370-9832 ║"
  74.      message "║ C- Arquimedes ............. 698-8230  X- Data Board ............. 379-2952 ║"
  75.      message "║ D- Government BBS ......... 537-1045  Y- Sterling Exchange ...... 435-0836 ║"
  76.      message "║ E- Darwin ................. 251-9206  Z- AMRAD (Ham Radio) ...... 734-1387 ║"
  77.      message "║ F- MegaWatts .............. 252-1958  0- Issue Dynamic .......... 734-1796 ║"
  78.      message "║ G- Information Tech. Center 275-1050  1- BXR Information Corner . 756-6109 ║"
  79.      message "║ H- Wizard's BBS ........... 322-8678  2- Teleward ............... 941-2386 ║"
  80.      message "║ I- Computer Connections ... 547-2008  3- Hard Core Colossus ..... 244-9573 ║"
  81.      message "║ J- Pul's BBS .............. 498-7283  4- Cosmos Club ............ 320-2491 ║"
  82.      message "║ K- Capitol PC User's Group  949-8848  5- B.A.S.I.C. ............. 365-0991 ║"
  83.      message "║ L- PC TIE ................. 972-1622  6- Capital PC Monitor ..... 424-5817 ║"
  84.      message "║ M- Death Star ............. 839-0705  7- Colossus III ........... 428-9044 ║"
  85.      message "║ N- Iceman's Castle ........ 654-6872  8- Sugarland BBS .......... 340-8519 ║"
  86.      message "║ O- Telecommunications BBS . 478-9850  9- Colossus II ............ 656-0932 ║"
  87.      message "║ P- Loading Dock ........... 921-9650  @- PC Tech Journal ........ 576-7285 ║"
  88.      message "║ Q- Digital Data Exchange .. 384-2587  #- Cap. PC Stat. SIG ...... 596-3569 ║"
  89.      message "║ R- Technical Info. Exchange 560-0979  $- XTurbo # 1 ............. 256-8012 ║"
  90.      message "║ S- Grafboard .............. 370-3885  %- ........................ ...-.... ║"
  91.      message "║ T- V.A. Info. Tech. Center  376-2184  &- ........................ ...-.... ║"
  92.      message "║ U- Germantown Pro Exchange  428-3418  *- ........................ ...-.... ║"
  93.      message "╚════════════════════════════════════════════════════════════════════════════╝"
  94.      locate 23,2
  95.      get s0
  96.  
  97. top:
  98.      find s0 "A"
  99.      if found
  100.           assign s8 "689-2987"
  101.           assign s6 "PC-Pursuit Information     "
  102.           gosub dial
  103.      else
  104.      endif
  105.      find s0 "B"
  106.      if found
  107.           assign s8 "689-3561"
  108.           assign s6 "PC-Pursuit Messages        "
  109.           gosub dial
  110.      else
  111.      endif
  112.      find s0 "C"
  113.      if found
  114.           assign s8 "698-8230"
  115.           assign s6 "Arquimedes                 "
  116.           gosub dial
  117.      else
  118.      endif
  119.      find s0 "D"
  120.      if found
  121.           assign s8 "537-1045"
  122.           assign s6 "Government BBS             "
  123.           gosub dial
  124.      else
  125.      endif
  126.      find s0 "E"
  127.      if found
  128.           assign s8 "251-9206"
  129.           assign s6 "Darwin                     "
  130.           gosub dial
  131.      else
  132.      endif
  133.      find s0 "F"
  134.      if found
  135.           assign s8 "252-1958"
  136.           assign s6 "Megawatts                  "
  137.           gosub dial
  138.      else
  139.      endif
  140.      find s0 "G"
  141.      if found
  142.           assign s8 "275-1050"
  143.           assign s6 "Information Tech Center    "
  144.           gosub dial
  145.      else
  146.      endif
  147.      find s0 "H"
  148.      if found
  149.           assign s8 "322-8678"
  150.           assign s6 "Wizard's                   "
  151.           gosub dial
  152.      else
  153.      endif
  154.      find s0 "I"
  155.      if found
  156.           assign s8 "547-2008"
  157.           assign s6 "Computer Connections PC BD "
  158.           gosub dial
  159.      else
  160.      endif
  161.      find s0 "J"
  162.      if found
  163.           assign s8 "498-7283"
  164.           assign s6 "Pyl'S                      "
  165.           gosub dial
  166.      else
  167.      endif
  168.      find s0 "K"
  169.      if found
  170.           assign s8 "949-8848"
  171.           assign s6 "Capitol PC User's Group    "
  172.           gosub dial
  173.      else
  174.      endif
  175.      find s0 "L"
  176.      if found
  177.           assign s8 "972-1622"
  178.           assign s6 "PC T.I.E.                  "
  179.           gosub dial
  180.      else
  181.      endif
  182.      find s0 "M"
  183.      if found
  184.           assign s8 "839-0705"
  185.           assign s6 "Death Star BBS             "
  186.           gosub dial
  187.      else
  188.      endif
  189.      find s0 "N"
  190.      if found
  191.           assign s8 "654-6872"
  192.           assign s6 "Iceman's Castle            "
  193.           gosub dial
  194.      else
  195.      endif
  196.      find s0 "O"
  197.      if found
  198.           assign s8 "478-9850"
  199.           assign s6 "Telecommunications BBS     "
  200.           gosub dial
  201.      else
  202.      endif
  203.      find s0 "P"
  204.      if found
  205.           assign s8 "921-9650"
  206.           assign s6 "The Loading Dock           "
  207.           gosub dial
  208.      else
  209.      endif
  210.      find s0 "Q"
  211.      if found
  212.           assign s8 "384-2587"
  213.           assign s6 "Digital Data Exchange      "
  214.           gosub dial
  215.      else
  216.      endif
  217.      find s0 "R"
  218.      if found
  219.           assign s8 "560-0979"
  220.           assign s6 "Technical Information Exc. "
  221.           gosub dial
  222.      else
  223.      endif
  224.      find s0 "S"
  225.      if found
  226.           assign s8 "370-3885"
  227.           assign s6 "Grafboard                  "
  228.           gosub dial
  229.      else
  230.      endif
  231.      find s0 "T"
  232.      if found
  233.           assign s8 "376-2184"
  234.           assign s6 "V.A. Info technology Ctr.  "
  235.           gosub dial
  236.      else
  237.      endif
  238.      find s0 "U"
  239.      if found
  240.           assign s8 "428-3418"
  241.           assign s6 "Germantown Pro Exchange    "
  242.           gosub dial
  243.      else
  244.      endif
  245.      find s0 "V"
  246.      if found
  247.           assign s8 "825-0536"
  248.           assign s6 "A & A Micro Tech           "
  249.           gosub dial
  250.      else
  251.      endif
  252.      find s0 "W"
  253.      if found
  254.           assign s8 "370-9832"
  255.           assign s6 "Data-Bit BBS               "
  256.           gosub dial
  257.      else
  258.      endif
  259.      find s0 "X"
  260.      if found
  261.           assign s8 "379-2952"
  262.           assign s6 "Data Board                 "
  263.           gosub dial
  264.      else
  265.      endif
  266.      find s0 "Y"
  267.      if found
  268.           assign s8 "435-0836"
  269.           assign s6 "Sterling Exchange          "
  270.           gosub dial
  271.      else
  272.      endif
  273.      find s0 "Z"
  274.      if found
  275.           assign s8 "734-1387"
  276.           assign s6 "AMRAD - HAM Radio          "
  277.           gosub dial
  278.      else
  279.      endif
  280.      find s0 "0"
  281.      if found
  282.           assign s8 "734-1796"
  283.           assign s6 "Issue Dynamic              "
  284.           gosub dial
  285.      else
  286.      endif
  287.      find s0 "1"
  288.      if found
  289.           assign s8 "756-6109"
  290.           assign s6 "BXR Information Corner     "
  291.           gosub dial
  292.      else
  293.      endif
  294.      find s0 "2"
  295.      if found
  296.           assign s8 "941-2386"
  297.           assign s6 "Teleward                   "
  298.           gosub dial
  299.      else
  300.      endif
  301.      find s0 "3"
  302.      if found
  303.           assign s8 "244-9573"
  304.           assign s6 "Hard Core Colossus         "
  305.           gosub dial
  306.      else
  307.      endif
  308.      find s0 "4"
  309.      if found
  310.           assign s8 "320-2491"
  311.           assign s6 "Cosmos Club                "
  312.           gosub dial
  313.      else
  314.      endif
  315.      find s0 "5"
  316.      if found
  317.           assign s8 "365-0991"
  318.           assign s6 "B.A.S.I.C.                 "
  319.           gosub dial
  320.      else
  321.      endif
  322.      find s0 "6"
  323.      if found
  324.           assign s8 "424-5817"
  325.           assign s6 "Capital PC Monitor         "
  326.           gosub dial
  327.      else
  328.      endif
  329.      find s0 "7"
  330.      if found
  331.           assign s8 "428-9044"
  332.           assign s6 "Colossus III               "
  333.           gosub dial
  334.      else
  335.      endif
  336.      find s0 "8"
  337.      if found
  338.           assign s8 "340-8519"
  339.           assign s6 "Sugarland BBS              "
  340.           gosub dial
  341.      else
  342.      endif
  343.      find s0 "9"
  344.      if found
  345.           assign s8 "656-0932"
  346.           assign s6 "Colossus II                "
  347.           gosub dial
  348.      else
  349.      endif
  350.      find s0 "@"
  351.      if found
  352.           assign s8 "576-7285"
  353.           assign s6 "PC Tech Journal            "
  354.           gosub dial
  355.      else
  356.      endif
  357.      find s0 "#"
  358.      if found
  359.           assign s8 "596-3569"
  360.           assign s6 "Capital PC Statistics SIG  "
  361.           gosub dial
  362.      else
  363.      endif
  364.      find s0 "$"
  365.      if found
  366.           assign s8 "256-8012"
  367.           assign s6 "XTurbo #1                  "
  368.           gosub dial
  369.      else
  370.      endif
  371.      goto speedup                      ; Skip Empty Elements
  372.      find s0 "%"
  373.      if found
  374.           assign s8 "   -    "
  375.           assign s6 "                           "
  376.           gosub dial
  377.      else
  378.      endif
  379.      find s0 "&"
  380.      if found
  381.           assign s8 "   -    "
  382.           assign s6 "                           "
  383.           gosub dial
  384.      else
  385.      endif
  386.      find s0 "*"
  387.      if found
  388.           assign s8 "   -    "
  389.           assign s6 "                           "
  390.           gosub dial
  391.      else
  392.      endif
  393.  
  394. speedup:
  395.      find s7 "M"
  396.      if found
  397.           assign s7 " "
  398.           goto top
  399.      else
  400.      endif
  401.      message "All Numbers Connected - Or Did Not Answer"
  402.      alarm 2
  403.      exit
  404.